package com.canaan.business.domain.agv;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.canaan.common.annotation.Excel;
import com.canaan.common.annotation.TableName;
import com.canaan.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * AGV数据调度记录对象 wcs_agv_task_dispatch_record
 *
 * @author 
 * @date 2023-03-02
 */
@ApiModel(description = "wcs_agv_task_dispatch_record")
@TableName("wcs_agv_task_dispatch_record")
public class AgvTaskDispatchRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 任务编码 */
    @Excel(name = "任务编码")
    @ApiModelProperty("任务编码")
    private String taskCode;

    /** 任务状态 */
    @Excel(name = "任务状态")
    @ApiModelProperty("任务状态")
    private String taskStatus;

    /** 失败原因 */
    @Excel(name = "失败原因")
    @ApiModelProperty("失败原因")
    private String reason;

    /** 排序 */
    @Excel(name = "排序")
    @ApiModelProperty("排序")
    private Long sort;

    /** 版本 */
    @Excel(name = "版本")
    @ApiModelProperty("版本")
    private Long version;

    /** 是否删除 */
    @ApiModelProperty("版本")
    private Integer delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTaskCode(String taskCode)
    {
        this.taskCode = taskCode;
    }

    public String getTaskCode()
    {
        return taskCode;
    }
    public void setTaskStatus(String taskStatus)
    {
        this.taskStatus = taskStatus;
    }

    public String getTaskStatus()
    {
        return taskStatus;
    }
    public void setReason(String reason)
    {
        this.reason = reason;
    }

    public String getReason()
    {
        return reason;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setVersion(Long version)
    {
        this.version = version;
    }

    public Long getVersion()
    {
        return version;
    }
    public void setDelFlag(Integer delFlag)
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskCode", getTaskCode())
            .append("taskStatus", getTaskStatus())
            .append("reason", getReason())
            .append("sort", getSort())
            .append("version", getVersion())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .toString();
    }
}
